curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/management/responses/{responseId} \
--header 'x-api-key: <x-api-key>'
{
"data": {
"createdAt": "2024-04-23T08:03:32.901Z",
"data": {
"1": "clicked",
"hs8yd14l9h8u353tjmv6rzaw": "clicked",
"hs8yd14l9h8u353tjmv6rzawqqq": "clicked",
"tcgls0063n8ri7dtrbnepcmz": "Who? Who? Who?",
"tcgls012312312063n8ri7dtrbnepcmz": "Who? Who? Who?"
},
"finished": true,
"id": "clvc3n6hy000u494jn2ypw30r",
"language": null,
"meta": {
"action": "test action",
"source": "Postman API",
"url": "https://postman.com",
"userAgent": {}
},
"notes": [],
"person": {
"attributes": {
"Created From": "API",
"created_from": "API"
},
"createdAt": "2024-04-23T07:39:22.696Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvc2s3ig000k494jltkqkm2u",
"updatedAt": "2024-04-23T07:39:22.696Z",
"userId": "THIS-IS-A-VVERY-LONG-USER-ID-FOR-TESTING"
},
"personAttributes": {
"Created From": "API",
"created_from": "API"
},
"singleUseId": null,
"surveyId": "clusgqpml0000135cxet3y8vh",
"tags": [],
"ttc": {},
"updatedAt": "2024-04-23T08:14:12.343Z"
}
}
Fetch the entire response object based on its ID
curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/management/responses/{responseId} \
--header 'x-api-key: <x-api-key>'
{
"data": {
"createdAt": "2024-04-23T08:03:32.901Z",
"data": {
"1": "clicked",
"hs8yd14l9h8u353tjmv6rzaw": "clicked",
"hs8yd14l9h8u353tjmv6rzawqqq": "clicked",
"tcgls0063n8ri7dtrbnepcmz": "Who? Who? Who?",
"tcgls012312312063n8ri7dtrbnepcmz": "Who? Who? Who?"
},
"finished": true,
"id": "clvc3n6hy000u494jn2ypw30r",
"language": null,
"meta": {
"action": "test action",
"source": "Postman API",
"url": "https://postman.com",
"userAgent": {}
},
"notes": [],
"person": {
"attributes": {
"Created From": "API",
"created_from": "API"
},
"createdAt": "2024-04-23T07:39:22.696Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvc2s3ig000k494jltkqkm2u",
"updatedAt": "2024-04-23T07:39:22.696Z",
"userId": "THIS-IS-A-VVERY-LONG-USER-ID-FOR-TESTING"
},
"personAttributes": {
"Created From": "API",
"created_from": "API"
},
"singleUseId": null,
"surveyId": "clusgqpml0000135cxet3y8vh",
"tags": [],
"ttc": {},
"updatedAt": "2024-04-23T08:14:12.343Z"
}
}
OK
The response is of type object
.
Was this page helpful?